package com.meteor.user.convert;

import com.meteor.user.entity.SysLogOperate;
import com.meteor.user.vo.SysLogOperateVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 操作日志
 *
 * @author lynn
 * @date 2024/1/03
 */
@Mapper
public interface SysLogOperateConvert {
    SysLogOperateConvert INSTANCE = Mappers.getMapper(SysLogOperateConvert.class);

    SysLogOperate convert(SysLogOperateVO vo);

    SysLogOperateVO convert(SysLogOperate entity);

    List<SysLogOperateVO> convertList(List<SysLogOperate> list);

}